
package com.shangsi.feign;

import com.shangsi.model.TOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author dzd
 * @date 2021-12-19
 */
@FeignClient("seata-order")
public interface OrderFeignService {

    @PostMapping("createOrder")
    Boolean createOrder(@RequestBody TOrder order);
}
